################################################################################
# Automatically-generated file. Do not edit!
################################################################################

-include ../makefile.init

RM := rm -rf

# All of the sources participating in the build are defined here
-include sources.mk
-include Widget/subdir.mk
-include User/subdir.mk
-include QRCODE/subdir.mk
-include MCU_drv/subdir.mk
-include Lib/src/subdir.mk
-include Function_drv/subdir.mk
-include Function/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 

# All Target
all: LT7589_UE-III_V1.0_20250925_LIB.elf

# Tool invocations
LT7589_UE-III_V1.0_20250925_LIB.elf: $(OBJS) $(USER_OBJS) ../User/linkmap
	@echo 'Building target: $@'
	@echo 'Invoking: Cross GCC Linker'
	mcore-elf-ld -EL --gc-sections -L"D:\software\CCore_IDE/tool-chain/ccore-elf/mcore-elf/lib/c0_div" -L"D:\software\C0_758\LT7589_UE-III_V1.0_20250925_LIB\Levetoplib" -L"D:\software\C0_758\LT7589_UE-III_V1.0_20250925_LIB\User" -L"D:\software\CCore_IDE/tool-chain/ccore-elf/lib/gcc/mcore-elf/4.6.0/c0_div" -e __start -N -t -warn-common -Map LT7589_UE-III_V1.0_20250925_LIB.map -T../User/linkmap -o "LT7589_UE-III_V1.0_20250925_LIB.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '
	$(MAKE) --no-print-directory post-build

# Other Targets
clean:
	-$(RM) $(C++_DEPS)$(OBJS)$(C_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS) LT7589_UE-III_V1.0_20250925_LIB.elf *.bin *.s *.obj *.map *.elf *.a
	-@echo ' '

post-build:
	-mcore-elf-objcopy  -O binary LT7589_UE-III_V1.0_20250925_LIB.elf LT7589_UE-III_V1.0_20250925_LIB.bin& mcore-elf-objdump -D LT7589_UE-III_V1.0_20250925_LIB.elf > LT7589_UE-III_V1.0_20250925_LIB.obj& mcore-elf-size LT7589_UE-III_V1.0_20250925_LIB.elf
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY: post-build

-include ../makefile.targets
